package com.lgx.mobile.dao;

import java.util.List;

import com.lgx.common.exception.DataException;
import com.lgx.common.web.Pagination;
import com.lgx.mobile.entity.GroupChatRecord;

/**
 * 
 * @author xuyichen
 *
 */
public interface IGroupChatRecordDao  {
	public GroupChatRecord createGroupChatRecord(GroupChatRecord groupChatRecord) throws DataException;
	public GroupChatRecord updateGroupChatRecord(GroupChatRecord groupChatRecord) throws DataException;
	public void deleteGroupChatRecord(GroupChatRecord groupChatRecord) throws DataException;
	public void deleteGroupChatRecordById(long id) throws DataException;
	public GroupChatRecord findGroupChatRecordById(long id);
	public List<GroupChatRecord> findGroupChatRecordListByGroupId(long groupId);
	public List<GroupChatRecord> findGroupChatRecordList();
	public Pagination findGroupChatRecordPaginationByGroupId(long groupId,Object[] params,int pageSize,int pageNum);
}